package Animal;

public interface IAmphibious extends IRunning,ISwimming{

}

class Frog2 implements IAmphibious{
    //要具体实现了
    //

    @Override
    public void run() {

    }

    @Override
    public void swim() {

    }
}
